<nav class="navbar navbar-default">
	<div class="container-fluid">
		<div class="navbar-header">
			<a class="navbar-brand" href="#">我的博客后台</a>
		</div>
		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
		<ul class="nav navbar-nav">
			<li class="<?php if($this->pagename == "article"){echo "active";}?>"><a href="<?php echo site_url("admin/article/index");?>">文章列表 <span class="sr-only">(current)</span></a></li>
			<li class="<?php if($this->pagename == "nav"){echo "active";}?>"><a href="<?php echo site_url("admin/nav/index");?>">分页列表</a></li>
		</ul>
		<ul class="nav navbar-nav navbar-right">
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?php echo $_SESSION['name'];?> <span class="caret"></span></a>
			<ul class="dropdown-menu">
				<li><a href="<?php echo site_url("admin/nav/login");?>">退出</a></li>
			</ul>
			</li>
		</ul>
		</div>
	</div>
</nav>